package com.wink.subscribe;

import javax.xml.bind.annotation.XmlElement;

import org.bson.types.ObjectId;

import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;

@Entity
public class MongoSub {
	@Id
	private ObjectId Id;
	private String email;
	private String name;
	private String amount;
	private String fromCommunity;
	private String charityCommunityID;
	
	public MongoSub() {
		
	}
	
	public MongoSub(String email) {
		this.email = email;
	}
	
	public ObjectId getId() {
		return Id;
	}

	public void setId(ObjectId id) {
		Id = id;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getAmount() {
		return amount;
	}
	
	public void setAmount(String amount) {
		this.amount = amount;
	}
	
	public String getCommunity() {
		return fromCommunity;
	}
	
	public void setCommunity(String community) {
		this.fromCommunity = community;
	}
	
	public String getCommunityID() {
		return charityCommunityID;
	}
	
	public void setCommunityID(String communityID) {
		this.charityCommunityID = communityID;
	}
}
